$OpenBSD: patch-waftools_detections_compiler_py,v 1.1 2016/07/10 15:27:55 czarkoff Exp $
--- waftools/detections/compiler.py.orig	Fri Jul  8 14:14:10 2016
+++ waftools/detections/compiler.py	Fri Jul  8 14:14:33 2016
@@ -41,9 +41,7 @@ def __add_generic_flags__(ctx):
 def __add_gcc_flags__(ctx):
     ctx.env.CFLAGS += ["-Wall", "-Wundef", "-Wmissing-prototypes", "-Wshadow",
                        "-Wno-switch", "-Wparentheses", "-Wpointer-arith",
-                       "-Wno-pointer-sign",
-                       # GCC bug 66425
-                       "-Wno-unused-result"]
+                       "-Wno-pointer-sign"]
 
 def __add_clang_flags__(ctx):
     ctx.env.CFLAGS += ["-Wno-logical-op-parentheses", "-fcolor-diagnostics",
